<?php
return [
	'timeZone' => 'Asia/Chongqing',
	'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
	'components' => [
		'cache' => [
			'class' => 'yii\caching\FileCache',
		],
		'utils' => [
			'class' => 'common\components\Utils',
		],
		'swoole_client' =>[
			'class' => 'common\components\SwooleClient',
		],
		//访问haocheAPI接口组件
		'coreapi' => [
			'class' => 'common\components\httpclient\CoreAPIClient',
			'apiurl' => '127.0.0.1',
			'apiport' => 85,
		],

	],
];
